package org.liu.async;

/**
 * Created by liuj on 2015/12/13.
 */
public class Constant {

    public final static String ENV = "dev";

    /**
     * 全局控制是否执行异步框架的参数,可以通过spring配置此Constant
     */
    public static boolean async = true;

    public void setAsync(boolean async) {
        Constant.async = async;
    }
}
